package com.dg.acb.utils.configdata;

/**
 * Created by fzh on 17-9-5.
 */

public class XXConstants {
    //基础信息
    final public static String URI_NET_PROTOCOL = "http://";
    final public static String URI_SERVER_IP = "www.ixiaxiang.cn:8089/";
    final public static String URI_PROTOCOL_VERSION = "v1/";
    final public static String URI_BASE = URI_NET_PROTOCOL + URI_SERVER_IP + URI_PROTOCOL_VERSION;

    //功能接口
    final public static String URI_SAVE_FUN_PHOTO =  URI_BASE + "video/saveMaterialImage";
    final public static String URI_GET_FUN_PHOTO_LIST_BY_USER =  URI_BASE + "video/materialImageListByUser";
    final public static String URI_DEL_FUN_PHOTO =  URI_BASE + "video/delMaterialImage";
    final public static String URI_GET_VERSION =  URI_BASE + "config/getVersion";
    final public static String URI_GET_AR_KEY =  URI_BASE + "config/getARKeyAndSecret";

    public final static String HTTP_HOME_DEL_URL = URI_BASE +"video/delMaterialVideo";
    public static final String HTTP_HOME_DATA_URL = URI_BASE +"video/materialVideo";
    public static final String HTTP_LIKE_DATA_URL = URI_BASE+"like/beLiked";
    public static final String HTTP_MY_LIKE_DATA_URL = URI_BASE+"like/myLiked";
    public static final String HTTP_GET_VIDEO_BY_ID =URI_BASE +"video/getVideoById";
    public static final String HTTP_GET_EFFECT_MATERIAL_LIST_BY_CATEGRY_ID =URI_BASE +"material/materialListByCategryId";
    public static final String HTTP_GET_EFFECT_MATERIAL_CATEGORY_LIST =URI_BASE +"materialCategory/materialCategoryList";
    public static final String HTTP_GET_SAVE_MATERIAL_VIDEO =URI_BASE +"video/saveMaterialVideo";

    //文件服务器
    final public static String URI_UPLOAD_TOKEN_PUBLIC =  URI_BASE + "qiniu/uploadTokenPublic";
    final public static String URI_UPLOAD_TOKEN_PRIVATE = URI_BASE +  "qiniu/uploadTokenPrivate";

    //登录注册相关
    final public static String URI_LOGIN = URI_BASE + "login/";
    final public static String URI_REGISTER = URI_BASE + "login/register/";
    final public static String URI_GET_SMS_CODE = URI_BASE + "login/smsCode";
    final public static String URI_URI_LOGIN = URI_BASE + "login/";
    final public static String URI_OAUTH_2_LOGIN = URI_BASE + "/login/oauth2Login";
    final public static String URI_URI_LOGIN_OUT = URI_BASE + "login/doLogout";

    //相关字符串
    public final static String TOKEN_KEY = "token";
    public final static String ID_KEY = "id";
    public final static String USER_KEY="user";
    public final static String FORGET_STYLE_KEY = "forget_style";
    public final static String PASSWORD_KEY = "password";
    public final static String VERIFICATION_KEY = "verification";
    public final static String IDENTIFY_KEY = "identify";
    public final static String TYPE_KEY = "type";
    public final static String PHONE_KEY = "phone";
    public final static String STATUS_KEY = "status";
    public final static String USER_DATA_KEY = "user_data";
    public final static String IF_HAS_IDCARdD_KEY="ifhasIdCard";
    public final static String OLD_PASSWORD_KEY="oldPassword";
    public final static String NEW_PASSWORD_KEY="newPassword";
    public final static int HAS_LOAD = 2;
    public final static int LOGOUT = 1;

    //第三方登录数据
    final public static String appKeyQQ= "1106521520";
    final public static String appSecretQQ="daeOdEBEGqKBZc1w";
    final public static String appKeyWeiXin= "wx6c3315718ee124e3";
    final public static String appSecretWeiXin="cd62a1ef3314ff3cda68f3d88ccf29f4";
    final public static String appKeySinaWeibo= "3991307937";
    final public static String appSecretSinaWeibo="c2253dfe741d0dd28bbeac6b952ded95";
    final public static String uriSecretSinaWeibo="http://www.weibo.com";
    final public static String appKeySinaBaidu="czzwNrc8d2zCyfRKdUHmK0vD";
    final public static String appSecretBaidu="NXAfVpn9NuDMd7G4h4RGvY26CumkN8Un";
}
